package com.tengju.bff.interfaces.manage.platform.rule.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ConditionVO {

    @ApiModelProperty(value = "字段名")
    @NotNull(message = "字段名不能为空")
    private String field;

    @ApiModelProperty(value = "对比符号")
    @NotNull(message = "对比符号不能为空")
    private String operation;

    @ApiModelProperty(value = "因子")
    @NotNull(message = "因子不能为空")
    private List<String> factors;

}
